package com.firefly.admin.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.firefly.admin.common.vo.BaseEntity;

import java.util.List;

@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "StBatchOperationDetail", description = "系统批量操作记录表")
public class FyBatchOperationDetail<T> extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "批量详情ID，主键")
    private Long batchDetailId;

    @ApiModelProperty(value = "批量ID")
    private Long batchId;

    @ApiModelProperty(value = "文件行数据")
    private String rowDataJson;

    @ApiModelProperty(value = "校验结果")
    private String verifyResult;

    @ApiModelProperty(value = "错误信息")
    private String errorMessage;

    @ApiModelProperty(value = "新增结果")
    private String saveResult;

    @ApiModelProperty(value = "文件行数据")
    @TableField(exist = false)
    private T rowData;
}
